#include <stdio.h>

#define MAXTITL 40
#define MAXAUTL 40

struct book
{
    char title[MAXTITL];
    char author[MAXAUTL];
    float value;
    int digit;
};

union handle {
    int digit;
    double bigfl;
    char letter;
};

union handle1 {
    int digit;
    double bigfl;
    char letter;
};

enum spectrum {
    digit = 100,
    red,
    green,
    yellow
};

int main(int argc, char const *argv[])
{
    int a;
    scanf("%d", &a);
    if (a == digit) {
        puts("AMD YES!");
    } else {
        puts("AMD NO!");
    }

    return 0;
}
